projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9daf1cf
)
Port to Ubuntu 16.04 --enable-gcc-warnings
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 24 Apr 2016 20:38:38 +0000
(13:38 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 24 Apr 2016 20:39:34 +0000
(13:39 -0700)
* src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index e8418b840c60bbd6f525aeea68e8b585f2eb72db..b07c1815eaca6f4b102322ff835067ddc643cc83 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-7979,7
+7979,8
@@
gif_load (struct frame *f, struct image *img)
{
img->lisp_data
= Fcons (make_number (ext->Function),
- Fcons (make_unibyte_string (ext->Bytes, ext->ByteCount),
+ Fcons (make_unibyte_string ((char *) ext->Bytes,
+ ext->ByteCount),
img->lisp_data));
if (ext->Function == GIF_LOCAL_DESCRIPTOR_EXTENSION
&& ext->ByteCount == 4)